import request from '@/utils/request.js'

// 登录
export const login = (params) => request.post('/api/login', params)

// 获取验证码
export const getCodeImg = (params) => request.get('/api/captchaImage', params)

// 登出
export const logout = (params) => request.post('/api/logout', params)

// 注销
export const logoff = (params) => request.post('/api/logoff', params)